{extend name="common/base"}

{block name="title"}Login Page{/block}

{block name="body"}
<div class="row">
    <div class="col-md-4 col-md-offset-4" style="margin-top: 130px">
        <div class="well well-lg">
            <h2 class="text-center">Login</h2>
            <form action="{:url('login')}" method="post">
                <div class="form-group">
                    <label for="username">Username</label>
                    <input type="text" class="form-control" id="username" name="username" placeholder="Username">
                </div>
                <div class="form-group">
                    <label for="password">Password</label>
                    <input type="password" class="form-control" id="password" name="password" placeholder="Password">
                </div>
                <input type="submit" class="btn btn-default btn-block" value="Login">
            </form>
            <a href="{:url('regist')}" class="btn btn-link" style="padding-left: 130px">还没有账号？去注册-></a>
        </div>
    </div>
</div>
{/block}
